import request from '@/utils/request'

// 查询答案
export function getHistoryTest(query) {
  return request({
    url:`/courseManage/getHistoryTest`,
    method: 'get',
    params:query
  })
}

// 查询排行榜
export function getRanking() {
    return request({
      url:`/courseManage/getRanking`,
      method: 'get',
    })
  }

// 查询证书
export function getUserCertificate() {
    return request({
      url:`/certificateManage/getUserCertificate`,
      method: 'get',
    })
  }

  // 分析图
export function getFractionalCurve() {
    return request({
      url:`/courseManage/getFractionalCurve`,
      method: 'get',
    })
  }